import httpRequest from '@/utils/request'

export function reserve1(timePeriodId, courtIndex) {
	console.log('reserve1接收到的参数:', timePeriodId, courtIndex); // 添加日志，确认参数是否正确传递
	const data = {
		timePeriodId,
		courtIndex
	}
	return httpRequest.request({
		url:'/venue/time-period/v1/reserve',
		method: 'get',
		data: data,
		})
}